package com.houtai.bean.dto.article;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

@ApiModel(value="文章详情所需数据", description="文章详情所需数据")
public class ArticleDetailDto {
    /**
     * 文章标示
     */
    @NotNull(message = "文章标示不能为空")
    @ApiModelProperty(value="文章标示", name="id")
    private Integer id;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}